/**
 * 托运人api接口 type: 1
 */
import {
  get,
  post
} from "./axios";

// 上传图片(imgFile)
export const apiUploadImg = params => post('/JysfSysUser/upload', params);
// 发送验证码
export const apiSendCode = params => post('/JysfSysUser/getAuthCode', params);

// 登录（type，phone，password）
export const apiLogin = params => post('/JysfSysUser/login', params);
// 查询企业认证信息（phone）
export const apiQueryAuthentication = params => post('/jysfadmin/jysfAuthIdentity/selectList', params);
// 审核
export const apiExamine = params => post('/jysfadmin/jysfAuthIdentity/update', params);
// 驳回
export const apiReject = params => post('/jysfadmin/jysfAuthIdentity/updateId', params);
// 查询平台订单
export const apiSearchOrder = params => post('/jysfadmin/jysfGoodsInfo/selectList', params);
// 查询报价列表
export const apiOfferList = params => post('/jysfadmin/jysfGoodsOffer/selectList', params);
// 删除报价项
export const apiDeleteOfferItem = params => post('/jysfadmin/jysfGoodsOffer/del', params);
// 调价
export const apiaAjustPrice = params => post('/jysfadmin/jysfGoodsInfo/updateId', params);
// 受理
export const apiAcceptance = params => post('/jysfadmin/jysfGoodsInfo/updateStatus', params);
// 指定承运人
export const apiAppoint = params => post('/jysfadmin/jysfGoodsInfo/update', params);
// 车俩列表
export const apiCarList = params => post('/jysfadmin/jysfAuthDriving/selectList', params);
// 审核车俩
export const apiCar = params => post('/jysfadmin/jysfAuthDriving/update', params);
// 司机列表
export const apiDriverList = params => post('/jysfadmin/jysfAuthDrivlic/selectList', params);
// 审核司机
export const apiDriver = params => post('/jysfadmin/jysfAuthDrivlic/update', params);
// 司机审核驳回
export const apiRejectDriver = params => post('/jysfadmin/jysfAuthDrivlic/updateId', params);
// 车俩审核驳回
export const apiRejectCar = params => post('/jysfadmin/jysfAuthDriving/updateId', params);
